package com.xx.ch06.demo.demo04;

public class UserServiceImpl implements UserService {
    //实例化依赖
    private UserDao dao =new UserDaoImpl();
    @Override
    public void save(User user) {
        //调用
        dao.save(user);
    }
}
